package com.xuecheng.learning.service;

import com.xuecheng.commons.model.dto.RecordDto;
import com.xuecheng.commons.model.vo.ResponseResult;
import com.xuecheng.learning.domain.CourseRecord;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 选课记录 服务类
 * </p>
 *
 * @author itheima
 * @since 2022-09-23
 */
public interface CourseRecordService extends IService<CourseRecord> {

    //获取学习记录
    ResponseResult getRecord(Long courseRecordId);

    // 保存或更新选课记录
    ResponseResult saveRecord(RecordDto dto);
}
